home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmTTTTeeeexxxxttttPPPPoooossssTTTTooooXXXXYYYY((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttPPPPoooossssTTTTooooXXXXYYYY((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- XXXXmmmmTTTTeeeexxxxttttPPPPoooossssTTTTooooXXXXYYYY - A Text function that accesses the x and y
- position of a character position
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Text.h>
- BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttPPPPoooossssTTTTooooXXXXYYYY(
- WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
- XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn ppppoooossssiiiittttiiiioooonnnn,
- PPPPoooossssiiiittttiiiioooonnnn ****xxxx,
- PPPPoooossssiiiittttiiiioooonnnn ****yyyy);
-
- VVVVEEEERRRRSSSSIIIIOOOONNNN
- This page documents Motif 2.1.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- XXXXmmmmTTTTeeeexxxxttttPPPPoooossssTTTTooooXXXXYYYY accesses the _x and _y position, relative to the
- upper left corner of the Text widget, of a given character
- position in the text buffer.
-
- In the case of horizontal writing, the position is the
- origin of the character. In the case of vertical writing,
- the position is the vertical origin of the character.
-
- _w_i_d_g_e_t Specifies the Text widget ID
-
- _p_o_s_i_t_i_o_n Specifies the character position in the text for
- which the _x and _yposition is accessed. This is an
- integer number of characters from the beginning of
- the buffer. The first character position is 0
- (zero).
-
- _x Specifies the pointer in which the _x position is
- returned. The returned position is the distance
- from the left side of the widget to the left
- border of the character. This value is meaningful
- only if the function returns True.
-
- _y Specifies the pointer in which the _y position is
- returned. The returned position is the distance
- from the top of the widget to the character's
- baseline. This value is meaningful only if the
- function returns True.
-
- For a complete definition of Text and its associated
- resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
-
- RRRREEEETTTTUUUURRRRNNNN
- This function returns True if the character position is
- displayed in the Text widget; otherwise, it returns False,
- and no _x or _yvalue is returned.
-
-
-
-
- Page 1 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmTTTTeeeexxxxttttPPPPoooossssTTTTooooXXXXYYYY((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttPPPPoooossssTTTTooooXXXXYYYY((((3333XXXX))))
-
-
-
- RRRREEEELLLLAAAATTTTEEEEDDDD
- XXXXmmmmTTTTeeeexxxxtttt(3).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 10/3/02)
-
-
-
-